#ifndef CustomerManager_h
#define CustomerManager_h

#include "Customer.h"
#include "Observable.h"

class Supermarket;

class CustomerManager : public Observable {

 public:
CustomerManager() : idCustomer(0) {}

  /**
     Begin the creation of the  customers
   */
  virtual void empezar();

  /**
     create a new customer. This Customer is sended to the supermarket 
   */
  virtual Customer* getNewCustomer();

 public:

    /* /\** */
    /*  * @element-type Supermarket */
    /*  *\/ */
    /* Supermarket *mySupermarket; */
private:
	/**
	contabiliza la cantidad de customers que 
	se utiliza para dar id a los customers
	*/
	int idCustomer;
	Customer* current;
public:
	int getIdCustomer();
};

#endif // CustomerManager_h
